Skip to content

Conversation

@printminion-co
Copy link
Contributor

Added comprehensive unit tests for the SetupService class, covering account creation with various authentication methods, handling of connectivity tests, and validation of authentication methods. This enhances test coverage and ensures the reliability of the account setup functionality.

In order for us to extend the logic in the future

@welcome
Copy link

welcome bot commented Dec 5, 2025

Thanks for opening your first pull request in this repository! ✌️

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive unit test coverage for the SetupService class, which handles email account setup and configuration. The tests validate the core functionality of creating new mail accounts with different authentication methods and proper error handling.

Key Changes:

  • Added test coverage for password-based and OAuth2 authentication flows
  • Added validation tests for invalid authentication methods
  • Added connection failure tests for both IMAP and SMTP

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@printminion-co printminion-co force-pushed the mk/dev/test_setup_service branch from 36b54b3 to 5fd80a0 Compare December 8, 2025 10:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@printminion-co printminion-co force-pushed the mk/dev/test_setup_service branch from 5fd80a0 to c6ae958 Compare December 8, 2025 12:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@printminion-co printminion-co force-pushed the mk/dev/test_setup_service branch from c6ae958 to 1ba84d4 Compare December 8, 2025 13:04
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kesselb
Copy link
Contributor

kesselb commented Dec 9, 2025

@printminion-co rebasing on main should fix the CI.

Added comprehensive unit tests for the SetupService class, covering account creation with various authentication methods, handling of connectivity tests, and validation of authentication methods. This enhances test coverage and ensures the reliability of the account setup functionality.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
@printminion-co printminion-co force-pushed the mk/dev/test_setup_service branch from 1ba84d4 to 3ec74a7 Compare December 10, 2025 12:11
@ChristophWurst ChristophWurst merged commit bf29a75 into nextcloud:main Dec 10, 2025
56 of 65 checks passed
@printminion-co
Copy link
Contributor Author

/backport to stable5.5

@printminion-co
Copy link
Contributor Author

/backport to stable5.6

@github-actions
Copy link

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants